package org.hxyjs.dao;

import org.hxyjs.entity.UserLikesExpert;
import org.hxyjs.page.PageInfo;
import java.util.List;

public interface UserLikesExpertDao {

    //查询全部
    public List<UserLikesExpert> getAllUserLikesExperts() throws Exception;

    //按主键查询
    public UserLikesExpert getUserLikesExpertByUlikeexpertno(String ulikeexpertno) throws Exception;

    //分页查询
    public List<UserLikesExpert> getUserLikesExpertByPage(PageInfo pageInfo) throws Exception;


    //增删改的返回值都是整数
    //增加
    Integer addUserLikesExpert(UserLikesExpert userLikesExpert) throws Exception;

    //删除
    Integer deleteUserLikesExpertByUlikeexpertno(String ulikeexpertno) throws Exception;

    //修改
    Integer updateUserLikesExpertByUlikeexpertno(UserLikesExpert userLikesExpert) throws Exception;


}
